import { type SlateElementProps, type TLinkElement } from "platejs";

import { SlateElement } from "platejs";

export function LinkElementStatic(props: SlateElementProps&lt;TLinkElement&gt;) {
  return (
    &lt;SlateElement
      {...props}
      as="a"
      className="font-medium text-primary underline decoration-primary underline-offset-4"
    &gt;
      {props.children}
    &lt;/SlateElement&gt;
  );
}
